<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/includedTag.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<%@page import="java.util.List"%>
<%@page import="com.drugStorage.domain.BuyPlan"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../style/css/screen.css">
<title>查看简要库存计划</title>

</head>
<body>

<h1>所有库存</h1>
<%
List<BuyPlan> list = (List<BuyPlan>) request.getAttribute("buyPlanList");
%>

<br>
<br>
<display:table name="sumList" id="sumList" export="true"
	pagesize="4" class="table" requestURI="ShowBuyPlan.do">
	<display:column property="id" sortable="true" title="id" />

	<display:column title="药品名称">
    ${sumList.drug.name}
	</display:column>
	 <display:column title="药品单位">
	 ${sumList.drug.unit}
	 </display:column>
	<display:column title="药品类别">
	${sumList.drug.category} 
	</display:column>
	<display:column property="amount" title="数量" />
	<display:column title="药品厂家">
	${sumList.drug.factory.factoryName} 
	</display:column>
		<display:column title="药品厂家地址">
	${sumList.drug.factory.address} 
	</display:column>

</display:table>



</body>
</html>